#ifndef THRESHOLDEROTSUBLEEDTHROUGHAWARE_HPP
#define THRESHOLDEROTSUBLEEDTHROUGHAWARE_HPP

#include <girlTools/girlToolsRegionInfos.hpp>
#include <ise/iseQuantificationThresholderOtsu.hpp>
#include <ise/iseGrayScaleHistogram.hpp>
#include <ise/iseHashHistogram.hpp>
#include <girl/girlToger.hpp>
#include <girlTools/girlToolsImage.hpp>

class ThresholderOtsuBleedThroughAware
{
public:
    ThresholderOtsuBleedThroughAware();
    int getVersoTreshold(const girl::tools::Image &verso);
    int getRectoThreshold(const girl::tools::Image &recto,
                          const girl::tools::Image &verso);
    int getRectoThreshold(const girl::tools::Image &recto,
                          const girl::tools::Image &verso,
                          int versoThreshold);
protected :
    int _versoThreshold;
    int _rectoThreshold;


};

#endif // THRESHOLDEROTSUBLEEDTHROUGHAWARE_HPP
